package org.smartboot.flow.testcase.spring;

import java.util.Arrays;

/**
 * @author yamikaze
 * @date 2023/6/17 14:21
 * @since 1.0.0
 */
public class User {

    private long age;

    public void setAge(long age) {
        System.out.println("long");
        this.age = age;
    }

    public void setAge(int age) {
        new RuntimeException().printStackTrace();
        System.out.println(Arrays.toString(this.getClass().getDeclaredMethods()));
        System.out.println("int");
        this.age = age;
    }

//    public void setAge(String age) {
//        System.out.println("strig");
//        this.age = Long.parseLong(age);
//    }
}
